package com.edu.exam.enums.examination.paper;

/**
 * 优先级枚举
 *
 * 从OmRecognitionTask实体类中提取的独立枚举
 *
 * @author System
 * @version 1.0.0
 */
public enum PriorityLevel {
    LOW("低"),
    NORMAL("普通"),
    HIGH("高"),
    URGENT("紧急"),
    CRITICAL("关键"),
    LOWEST("最低"),
    HIGHEST("最高"),
    MEDIUM("中等"),
    BACKGROUND("后台"),
    FOREGROUND("前台"),
    REAL_TIME("实时"),
    BATCH("批量"),
    SCHEDULED("计划"),
    IMMEDIATE("立即"),
    DEFERRED("延迟"),
    ROUTINE("常规"),
    IMPORTANT("重要"),
    OPTIONAL("可选"),
    MANDATORY("强制"),
    DEFAULT("默认"),
    CUSTOM("自定义");

    private final String description;

    PriorityLevel(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    /**
     * 获取显示名称（中文）
     *
     * @return 中文显示名称
     */
    public String getDisplayName() {
        return description;
    }
}